import service from "../request";

//人员列表
export function vipuser_list(params = {}) {
    return service.get('/vip_list', { params })

}
//搜索
export function vipuser_search(params = {}) {
    return service.get('/vip_list', { params })
}


//删除
export function vipuser_del(id) {
    return service.delete(`/vip_list/${id}`)
}

//新增
export function vipuser_add(params = {}) {
    return service.post('/vip_list', params)
}

//批量删除
export function vipuser_manydel(id) {
    return service.delete(`/vip_list/${id}`)
}

//编辑
export function vipuser_edit(id, params = {}) {
    return service.patch(`/vip_list/${id} `, params)
}

//分页
export function vipuser_pagination(params = {}) {
    return service.get('/vip_list', { params })
}

//下拉框查询
export function vipuser_select(params = {}) {
    return service.get('/vip_list', { params })
}


//charts图表
export function charts_list(params = {}) {
    return service.get('/echarts_list', { params })
}


//会员数据明细
export function vipdata_list(params = {}) {
    return service.get('/vipdata_list', { params })
}


//会员标签列表
export function vipbiaoqian_list(params = {}) {
    return service.get('/vipbiaoqian_list', { params })
}


//会员标签搜索
export function vipbiaoqian_search(params = {}) {
    return service.get('/vipbiaoqian_list', { params })
}









